package com.telit.firecommand.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


/**
 * Create by Chencf 2022/09/06
 */
@Data
public class FireAlarmsPushVO implements Serializable {

    @ApiModelProperty(value = "火情ID")
    private String fireId;


    @ApiModelProperty(value = "经度")
    private String longitude;


    @ApiModelProperty(value = "纬度")
    private String latitude;


    @ApiModelProperty(value = "行政区划")
    private String areaCode;

    @ApiModelProperty(value = "行政区划name")
    private String areaCodeName;


    @ApiModelProperty(value = "火情位置")
    private String placeName;


    @ApiModelProperty(value = "转交时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date transferTime;



    @ApiModelProperty(value = "火情状态 1 未处置 2处置中 3已处置")
    private Short status;


    @ApiModelProperty(value = "转交人员")
    private String transferUser;

    @ApiModelProperty(value = "转交状态")
    private Integer transferStatus;
    private String transferStatusStr;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "报警类型")
    private String sourceType;
    private String sourceTypeStr;
    private String log;


    private static final long serialVersionUID = 1L;

}
